package www.openteam.com.bean;

import java.util.List;

/**
 * Created by Administrator on 2019-05-14.
 */

public class ExchangeRate {

    /**
     * status : 1
     * info : 成功
     * data : {"data":[{"code":"01","ename":"HKD","cname":"港幣","rate":"1.00000"},{"code":"02","ename":"RMB","cname":"人民幣","rate":"1.24000"},{"code":"03","ename":"USD","cname":"美金","rate":"7.80000"},{"code":"04","ename":"Euro","cname":"歐元","rate":"10.50000"}]}
     */

    private int status;
    private String info;
    private DataBeanX data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        private List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * code : 01
             * ename : HKD
             * cname : 港幣
             * rate : 1.00000
             */

            private String code;
            private String ename;
            private String cname;
            private String rate;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getEname() {
                return ename;
            }

            public void setEname(String ename) {
                this.ename = ename;
            }

            public String getCname() {
                return cname;
            }

            public void setCname(String cname) {
                this.cname = cname;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }
        }
    }
}
